from django.db import models
from django.contrib.auth.models import User
from django.utils import timezone
from product.models import Product

class Cart(models.Model):
     product = models.ForeignKey(Product, on_delete=models.CASCADE)
     quantity=models.PositiveIntegerField(default=1)
     add_at=models.DateTimeField(default=timezone.now)


